home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / ip / nfs / nfstrace.shar.Z / nfstrace.shar / makefile next >
Encoding:
Makefile  |  1992-02-06  |  906 b   |  44 lines

  1. # makefile for rpcspy & nfstrace
  2.  
  3. CC=cc
  4.  
  5. #delete this target ...
  6. all:
  7.     @echo HEY! Edit the makefile to configure for your environment.
  8.  
  9. #...and add this one:
  10. #all: rpcspy nfstrace
  11.  
  12. #ULTRIX:
  13. #If you're running ULTRIX (with packetfilter), uncomment this:
  14. #rpcspy: rpcspy.o  xdr_nfs.o pfilt.o
  15. #    cc rpcspy.o pfilt.o xdr_nfs.o -o rpcspy
  16.  
  17. #SunOS
  18. #if you're running SunOS (with NIT), uncomment this:
  19. #CFLAGS=-DNIT
  20. #except that if NIT timestamps are known to work right
  21. # uncomment this line instead
  22. #CFLAGS=-DNIT -DSTAMPS
  23. #and uncomment these lines
  24. #rpcspy: rpcspy.o  xdr_nfs.o nit.o
  25. #    cc rpcspy.o nit.o xdr_nfs.o -o rpcspy
  26.  
  27.  
  28. rpcspy.o: rpcspy.h rpcspy.c
  29.  
  30. pfilt.o: rpcspy.h pfilt.c
  31.  
  32. nit.o: rpcspy.h nit.c
  33.  
  34. nfstrace: y.tab.c lex.yy.c nfstrace.o
  35.     cc nfstrace.o y.tab.c -ly -ll -o nfstrace
  36.  
  37. nfstrace.o: nfstrace.c nfsstuff.h
  38.  
  39. y.tab.c: nfsyacc.y nfsstuff.h
  40.     yacc nfsyacc.y
  41.  
  42. lex.yy.c: nfslex.l nfsstuff.h
  43.     lex nfslex.l
  44.